<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isErrorPage="true" %>
<html>
<head>
    <title>
        标题
    </title>
</head>
<body>
<%--JSP九大内置对象--%>
<%
    // 四个域对象: 当前页面内可用、单次请求、单次会话、项目运行
    pageContext.setAttribute("page", "Page页面对象,最小域");
    request.setAttribute("request", "Request请求域对象");
    session.setAttribute("session", "Session会话对象");
    application.setAttribute("application", "Application域对象");

    // 响应对象和输出流对象
    response.setContentType("text/html;charset=UTF-8");
    out.print("打印流对象");

    // Servlet配置对象，jsp本身对象，异常对象
    config.getInitParameter("servlet");
    page.getClass();
    exception.getClass();
%>
</body>
</html>
